package com.g6.demo.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.g6.demo.City;
import com.g6.demo.CityService;

/**
 * @Author: g6
 * @Date: 2019/4/19 10:50
 */
@Service(version = "1.0.0")
public class CityServiceImpl implements CityService {
    @Override
    public City findCityByName(String cityName) {
        System.out.println("服务端接受消息："+cityName);
        City city = new City();
        city.setCityName("北京大栅栏");
        city.setCityId("123");
        return city;
    }
}
